<div class="yuList">
    <table class="table table-bordered">
        <thead>
            <tr>
                <td width="3%">编号</td>
                <td width="7%">分类</td>
                <td width="8%">平台</td>
                <td width="8%">名称</td>
                <td width="6%">版本</td>
                <td width="14%">下载地址</td>
                <td width="10%">备注</td>
                <td width="5%">状态</td>
                <td width="4%">是否强制更新</td>
                <td width="6%">创建时间</td>
                <td width="6%">操作</td>
            </tr>
        </thead>
        <tbody>
        <volist name="lists" id="list" key="k">
            <tr class="listBg">
                <td>{$list.id}</td>
                <td>{$sort_id[$list[sort_id]]}</td>
                <td>{$driver[$list[driver]]}</td>
                <td>{$list.name}</td>
                <td>{$list.version}</td>
                <td>{$list.link}</td>
                <td>{$list.note}</td>
                <td>
                    <if condition="($list.status eq 1)">
                        <span>已上线</span>
                    <else />
                        <span>已下线</span>
                    </if>
                </td>
                 <td>
                     <if condition="($list.force eq 1)">
                        <span>是</span>
                    <else />
                        <span>否</span>
                    </if>
                 </td>
                <td>{$list.created_at}</td>
                <td><a href="/AppPublish/edit/id/{$list.id}">编辑</a>
                    <if condition="($list.status eq 1)">
                        <a href="" onclick="return ci_op('{$list.id}',0);">下线</a> 
                    <else />
                        <a href="" onclick="return ci_op('{$list.id}',1);">上线</a> 
                    </if>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
    <div class="pageFaye"><div class="pager">{$page}</div><div class="clear"></div></div>
</div>
